projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02c3a3d
)
pylibfdt: Add missing CC and LD to Makefile
author
Marek Vasut
<
[email protected]
>
Fri, 18 May 2018 07:56:53 +0000
(09:56 +0200)
committer
Tom Rini
<
[email protected]
>
Thu, 24 May 2018 02:06:41 +0000
(22:06 -0400)
Add missing CC and LDSHARED variables to the Makefile to pass the
correct C compiler and linker path to the build of _libfdt.so .
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Cc: Masahiro Yamada <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Reviewed-by: Masahiro Yamada <
[email protected]
>
scripts/dtc/pylibfdt/Makefile
patch
|
blob
|
history
diff --git
a/scripts/dtc/pylibfdt/Makefile
b/scripts/dtc/pylibfdt/Makefile
index 01d5e0ffe3027181b0a87081309fd475ccc5b5cc..c769d7db062c4f49c27428cadd5323005b2625f3 100644
(file)
--- a/
scripts/dtc/pylibfdt/Makefile
+++ b/
scripts/dtc/pylibfdt/Makefile
@@
-14,7
+14,8
@@
PYLIBFDT_srcs = $(addprefix $(LIBFDT_srcdir)/,$(LIBFDT_SRCS)) \
$(obj)/libfdt.i
quiet_cmd_pymod = PYMOD $@
- cmd_pymod = unset CC; unset CROSS_COMPILE; unset CFLAGS;\
+ cmd_pymod = unset CROSS_COMPILE; unset CFLAGS; \
+ CC="$(HOSTCC)" LDSHARED="$(HOSTCC) -shared " \
LDFLAGS="$(HOSTLDFLAGS)" \
VERSION="u-boot-$(UBOOTVERSION)" \
CPPFLAGS="$(HOSTCFLAGS) -I$(LIBFDT_srcdir)" OBJDIR=$(obj) \